package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\consumeRecord.xlsx")
public class CardConsumeRecordWorkbook {
	@ExcelSheet
	@JsonProperty("悦卡消费记录表")
	private List<CardConsumeRecordRow> cardGet;

	public static class CardConsumeRecordRow {
		@JsonProperty("手机号")
		private String mobile;

		@JsonProperty("姓名")
		private String name;

		@JsonProperty("单位名称")
		private String companyName;

		@JsonProperty("商户")
		private String merchantName;

		@JsonProperty("悦卡名称")
		private String cardName;

		@JsonProperty("金额")
		private BigDecimal money;

		@JsonProperty("消费时间")
		private LocalDateTime consumeTime;

		@JsonProperty("商圈名称")
		private String busdName;

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getCompanyName() {
			return companyName;
		}

		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public String getCardName() {
			return cardName;
		}

		public void setCardName(String cardName) {
			this.cardName = cardName;
		}

		public BigDecimal getMoney() {
			return money;
		}

		public void setMoney(BigDecimal money) {
			this.money = money;
		}

		public LocalDateTime getConsumeTime() {
			return consumeTime;
		}

		public void setConsumeTime(LocalDateTime consumeTime) {
			this.consumeTime = consumeTime;
		}

		public String getBusdName() {
			return busdName;
		}

		public void setBusdName(String busdName) {
			this.busdName = busdName;
		}
	}

	public List<CardConsumeRecordRow> getCardGet() {
		return cardGet;
	}

	public void setCardGet(List<CardConsumeRecordRow> cardGet) {
		this.cardGet = cardGet;
	}
}
